home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / FGL304E.ZIP;1 / EXPAS.ARJ / FGDOC / EXAMPLES / PASCAL / 14-03.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1994-01-24  |  366 b   |  20 lines

  1. program main;
  2. uses fgmain, fgmisc;
  3.  
  4. begin
  5.   if (fg_capslock = 1) then
  6.     writeln('CapsLock is on.')
  7.   else
  8.     writeln('CapsLock is off.');
  9.  
  10.   if (fg_numlock = 1) then
  11.     writeln('NumLock is on.')
  12.   else
  13.     writeln('NumLock is off.');
  14.  
  15.   if (fg_scrlock = 1) then
  16.     writeln('ScrollLock is on.')
  17.   else
  18.     writeln('ScrollLock is off.');
  19. end.
  20.